package com.jac.alapores.dao;

import java.util.List;

import com.jac.alapores.domain.AlaporesHero;

public class AlaporesHeroRepository 
extends BaseRepository
{
	public List<AlaporesHero> getAll()
	{
		return getService().query(AlaporesHero.class).list();
	}
	
	public void create(AlaporesHero category)
	{
		getService().put(category);		
	}
	
	public void deleteById(Long pId)
	{
		getService().delete(AlaporesHero.class, pId);
	}
	
	public AlaporesHero getById(Long pId)
	{
		return getService().get(AlaporesHero.class, pId);
	}
}
